package tut.Struct.collection.phan1.addMethod;

public class MyClass {
	int data;

	MyClass() {
		data = 0;
	}//end noarg constructor

	MyClass(int data) {
		this.data = data;
	}//end parameterized constructor

	public String toString() {
		return "" + data;
	}//end overridden toString()

}//end MyClass
